package cn.cloudtogo.adaptation.amqp.ironegg;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author yaolianhua789@gmail.com
 **/
@Data
public class MiddlewareMessageBody implements Serializable {

    private String changeType;
    private String dataType;
    private String id;
    @JsonProperty("oldData")
    private MiddlewareRawData origin;
    @JsonProperty("newData")
    private MiddlewareRawData target;
}
